import React from "react"

export default React.createClass({
  render: function(){
    var props = this.props
    return (
      <label className="mdl-switch mdl-js-switch mdl-js-ripple-effect" id={props.id}>
        <input type="checkbox" className="mdl-switch__input"/>
        <span className="mdl-switch__label">{props.label}</span>
      </label>
    )
  }
})
